package com.lysj.admin.auth.management.repository;


import com.lysj.admin.auth.management.domain.Role;
import com.lysj.admin.utils.spring.foundation.base.BaseRepository;

import java.util.List;

/**
 * @author zk
 * @description 角色表数据处理层
 * @create 2018-07-25 15:10:47
 **/
public interface RoleRepository extends BaseRepository<Role> {
    int countByIdAndDelFlag(String id, Integer delFlag);

    List<Role> findByDefaultRoleAndDelFlag(boolean isDefault, Integer delFlag);
}